package com.yeshine.opendata.service;

import com.yeshine.opendata.core.IService;
import com.yeshine.opendata.entity.App;
import com.yeshine.opendata.entity.dto.StatisticsResult;
import com.yeshine.opendata.utils.Result;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by taohj on 2014/8/1.
 */
public interface IAppService extends IService<App> {

    Result<App> create(App app, HttpServletRequest request);

    Result<App> modify(App app, HttpServletRequest request);


    Result<StatisticsResult> getGroupByTheme(App app);

    Result<StatisticsResult> getGroupByPlatForm(App app);

    Result<App> audit(Integer auditStatus, Integer[] apps);
}
